﻿<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>content</title>
<script type="text/javascript" src="${js_ctx }/option.js" ></script>
<link type="text/css" rel="stylesheet" href="${css_ctx }/main_style.css" />

<script type="text/javascript" src="${editor_ctx }/fckeditor.js"></script>
<script type="text/javascript">
	window.onload = function()
	{
		var oFCKeditor1 = new FCKeditor( 'content1' ) ;
		oFCKeditor1.BasePath = "${ctx }/fckeditor/" ;
		oFCKeditor1.Width = "100%";
		oFCKeditor1.Height = "360";
		oFCKeditor1.ReplaceTextarea() ;
		
		var oFCKeditor2 = new FCKeditor( 'content2' ) ;
		oFCKeditor2.BasePath = "${ctx }/fckeditor/" ;
		oFCKeditor2.Width = "100%";
		oFCKeditor2.Height = "360";
		oFCKeditor2.ReplaceTextarea() ;
		
		var oFCKeditor3 = new FCKeditor( 'content3' ) ;
		oFCKeditor3.BasePath = "${ctx }/fckeditor/" ;
		oFCKeditor3.Width = "100%";
		oFCKeditor3.Height = "150";
		oFCKeditor3.ReplaceTextarea() ;
		
		var oFCKeditor4 = new FCKeditor( 'content4' ) ;
		oFCKeditor4.BasePath = "${ctx }/fckeditor/" ;
		oFCKeditor4.Width = "100%";
		oFCKeditor4.Height = "150";
		oFCKeditor4.ReplaceTextarea() ;
	}
</script>

</head>

<body class="content_bg"> 
<!-- 标题-->	
<div class="content_tittle">
${rulesworklearn.rule.rname}
</div>
<!-- 标题  end--> 
<!-- 提示信息 -->	
<c:if test="${!empty msg}">
	<div class="mag">提示信息：${msg}</div>
	<c:remove var="msg" scope="session"/>
</c:if>
<!-- 提示信息  end-->	

<div class="switch"><span><a onclick="switch1();" title="单击可合拢或展开"><img src="${img_ctx }/option_button.gif" width="17" height="12" /></a></span><div class="tittle">编制规则</div></div>
<div   class="clear opinions" >
      <div class="kuang_bxyq" id="r_top">${rulesworklearn.rule.rtdbrule }</div>   
</div>


<form action="${ctx }/sworks?cmd=update_admin" method="post" name="form2">
	<input type="hidden" name="rid" value="${rulesworklearn.rule.rid }"/>
	<input type="hidden" name="tid" value="${tid }"/>
	<input type="hidden" name="sid" value="${rulesworklearn.swork.sid }"/>
<div class="content">
  <div id="content_main">
    <div class="switch" style="margin-right:3px;"><span><a onclick="switch_cz();" title="单击可合拢或展开"><img src="${img_ctx }/option_button.gif" width="17" height="12" /></a></span><div class="tittle">本站编辑区</div></div>
    <div class="opinions"  style="margin-right:3px; ">
    <div id="con_cz"  >
    <!-- 车站制度的编辑区域 --> 
	<textarea id="content1" name="scontent" >
	    ${rulesworklearn.swork.scontent}
	</textarea>
	<c:if test="${ empty rulesworklearn.swork.scontent}"><div style="padding:5px;"><font color=red>车站制度还未添加  </font></div></c:if>
	<!-- 车站制度的编辑区域 end -->
	</div>
    </div>
  </div>
  
  <div class="r"  id="content_main_r">
      <div class="switch"><span><a onclick="switch2();" title="单击可合拢或展开"><img src="${img_ctx }/option_button.gif" width="17" height="12" /></a></span><div class="tittle">参考规章文电</div></div>
      <div   class="clear opinions" >
      <div id="r_right" >

        <!-- 车站参考章程编辑区域 -->
        <textarea id="content2" name="scommon" >
		   ${rulesworklearn.swork.scommon }
		</textarea>
		<c:if test="${ empty rulesworklearn.swork.scommon}"><div style="padding:5px;"><font color=red>参考章程还未添加  </font></div></c:if>
		<!-- 车站参考章程编辑区域 end -->
		
      </div>
      </div>
  </div>
</div>

<div class="switch clear"><span><a onclick="switch3(); "  title="单击可合拢或展开"><img src="${img_ctx }/option_button.gif" width="17" height="12" /></a></span><div class="tittle">审核组意见</div></div>
<div   class="clear opinions" >
  <div id="r_bottom" style="padding:5px;">
   <!-- 审核意见-->
	  	<textarea id="content3" name="ssadvice" >
	  		 ${rulesworklearn.swork.ssadvice }
	  	</textarea>
  		<div class="button_l clear">
  			<c:if test="${ empty rulesworklearn.swork.sdadvice}"><font color=red>审核组还未审核  </font></c:if>
			<input name="ssstate" type="radio" value="0" <c:if test="${'0' eq  rulesworklearn.swork.ssstate}">checked="checked"</c:if> />未审核  
			<input name="ssstate" type="radio" value="1" <c:if test="${'1' eq  rulesworklearn.swork.ssstate}">checked="checked"</c:if> />已审核 
			<input name="ssstate" type="radio" value="2" <c:if test="${'2' eq  rulesworklearn.swork.ssstate}">checked="checked"</c:if> />未通过  
		</div>
  	
    <!-- 审核意见 end -->
  </div>
</div>

<div class="switch clear"><span><a onclick="switch4(); "  title="单击可合拢或展开"><img src="${img_ctx }/option_button.gif" width="17" height="12" /></a></span><div class="tittle">段长组意见</div></div>
<div   class="clear opinions" >
  <div id="r_bottom1" style="padding:5px;">
  	
    <!-- 段长组意见-->
    <textarea id="content4" name="sdadvice" >
	   ${rulesworklearn.swork.sdadvice}
	</textarea>
	
	<div class="button_l clear">
		<c:if test="${ empty rulesworklearn.swork.sdadvice}"><font color=red>段长组还未审核  </font></c:if>
		<input name="sdstate" type="radio" value="0" <c:if test="${'0' eq  rulesworklearn.swork.sdstate}">checked="checked"</c:if> />未审核  
		<input name="sdstate" type="radio" value="1" <c:if test="${'1' eq  rulesworklearn.swork.sdstate}">checked="checked"</c:if> />已审核 
		<input name="sdstate" type="radio" value="2" <c:if test="${'2' eq  rulesworklearn.swork.sdstate}">checked="checked"</c:if> />未通过 
		
	</div>
    <!-- 段长组意见 end -->
  </div>
</div>
<div style="text-align: center; padding: 3px 0px;">
	<input type="submit" value=" 提 交 " class="btn1_mouseout" onmouseover="this.className='btn1_mouseover'" onmouseout="this.className='btn1_mouseout'" />
</div>
<div class="foot_content">
  <div class="foot_nav">
  <c:if test="${!(rulesworklearn.firstLast eq 'first')}">
	<a href="common?cmd=page&action=first&rid=${rulesworklearn.rule.rid}&tid=${tid}">第一条</a>	
	<a href="common?cmd=page&action=top&rid=${rulesworklearn.rule.rid}&tid=${tid}">上一条</a>
  </c:if>
  <c:if test="${!(rulesworklearn.firstLast eq 'last')}">
	<a href="common?cmd=page&action=down&rid=${rulesworklearn.rule.rid}&tid=${tid}">下一条</a>
	<a href="common?cmd=page&action=last&rid=${rulesworklearn.rule.rid}&tid=${tid}">最后一条</a>
  </c:if>
  </div>
  <%@ include file="../../common/footer.jsp"%>
</div>
</form>
</body>
</html>
